#! /bin/bash
export LANG=en_US.UTF-8

netstat -lnp | grep $1/ | grep tcp | grep LISTEN